package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 销售收据预览req
 * </p>
 *
 * @author 叶冠峰
 *@since 2021-03-02
 */
@Data
@ApiModel(value="销售收据预览req", description="销售收据预览req")
public class CustomOrderReceiptDetailsPreviewReq implements Serializable {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @NotNull(message = "ID集合不能为空")
    @ApiModelProperty(value = "ID集合",required = true)
    private List<Long> idList;

    @ApiModelProperty(value = "数据来源（1：收款，2：收据）")
    private Integer dataSource;

    @ApiModelProperty(value = "用户Id")
    private Long userId;
}
